package cn.edu.wfit.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author baomidou
 * @since 2023-10-26
 */
@TableName("users_role")
public class UsersRole implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Long usersId;

    private Long roleId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUsersId() {
        return usersId;
    }

    public void setUsersId(Long usersId) {
        this.usersId = usersId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    @Override
    public String toString() {
        return "UsersRole{" +
            "id = " + id +
            ", usersId = " + usersId +
            ", roleId = " + roleId +
        "}";
    }
}
